package com.testscripts;

import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class SplitTest {

	/**
	 * Quinty's Test
	 */
	public static void main(String[] args) {
	    String str = "javascript:editAssessment(133749,'22.1-23.1784960')";
		System.out.println(str.split("\\(")[1].split("\\,")[0]);
		
		String str1 = "javascript:editAssessment(13378743287483249,'22.1-23.1784960')";
		System.out.println(str1.split("\\(")[1].split("\\,")[0]);
	}
}